package com.example.guavaSrudy.BasicEvent.simple;

import com.google.common.eventbus.EventBus;

public class MainClass {

    public static void main(String[] args) {
        EventBus eventBus = new EventBus();
        SimpleTradeExecutor simpleTradeExecutor = new SimpleTradeExecutor(eventBus);
        TradeAccount tradeAccount = new TradeAccount();
        SimpleTradeAuditor simpleTradeAuditor = new SimpleTradeAuditor(eventBus);
        simpleTradeExecutor.executeTrade(tradeAccount,100,TradeType.DIRECT);
    }
}
